﻿@model VSMChartPeriodViewModel

@{
	ViewBag.Title = @Html.GetGlobalResource("PagesTitles", "AdminOnlinePeriod");
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>@Html.GetGlobalResource("PagesTitles", "AdminOnlinePeriod")</h2>
@using (Html.BeginForm("OnlinePeriod", "Statistic", FormMethod.Post)) {
	<label>@Html.GetLocalResource("PeriodFrom") </label>
	@Html.TextBoxFor(x => x.StartDate)<label> @Html.GetLocalResource("PeriodTo") </label>
	@Html.TextBoxFor(x => x.EndDate)
	<br/>
	<label>@Html.GetLocalResource("TimeFrom") </label>
	@Html.TextBoxFor(x => x.StartTime)<label> @Html.GetLocalResource("TimeTo") </label>
	@Html.TextBoxFor(x => x.EndTime)
	<br/>
	<input type="submit" value="@Html.GetLocalResource("Apply")"/>
	<br/>
	<br/>
}
<img src ='@Url.Content("~/Statistic/dimage")' alt="t" />